<?php
// 本类由系统自动生成，仅供测试用途
class IndexAction extends BaseAction {
    public function index(){
        C('LAYOUT_ON',FALSE);
    	$this->assign('name',$this->userinfo['realname']);

        $roleid = $this->userinfo['roleid'];
        $roles = getRoleAuth();

        $icons = D('Auth')->getMenuIcon($roles[$roleid]);
        $this->assign('list',$icons);
		$this->display();
    }

}